package cn.funeralobjects.ams.entity;

import cn.funeralobjects.common.jpa.entity.BaseCloudJpaEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @author FuneralObjects
 * Create date: 2020/6/7 10:49 AM
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Entity
@DynamicInsert
@DynamicUpdate
@Table(name = "t_ram_role")
@Accessors(chain = true)
public class ERamRole extends BaseCloudJpaEntity<Integer> {

    /**
     * 所属资源id
     */
    private Integer prodResId;
}
